import time

print time.time()
print time.localtime()
time_f=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())
print time_f
time_a=time.strptime(time_f,'%Y-%m-%d %H:%M:%S')
print time_a
time_s=int(time.mktime(time_a))
print time_s

